package com.vrv.app.cyberspace.modules.sys.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.vrv.app.cyberspace.modules.sys.entity.OrganizeTable;
import org.apache.ibatis.annotations.CacheNamespace;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author sm
 * @since 2017-12-28
 */
@Mapper
public interface OrganizeTableMapper extends BaseMapper<OrganizeTable> {

    List<OrganizeTable> listOffices(@Param("id") Integer id);

    List<OrganizeTable> listOperators(@Param("id") Integer id);

    Integer updateOrgRoleByIDS(@Param("list") List<String> orgIDSet, @Param("roleID") Integer roleId);
}
